package com.tangyuan.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tangyuan.model.activity.Enroll;
import com.tangyuan.model.activity.EnrollRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ActivityEnrollVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 海报url
     */
    @ApiModelProperty(value = "海报url")
    private String posterUrl;
    /**
     * 活动主题
     */
    @ApiModelProperty(value = "活动主题")
    private String subject;
    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 活动形式 0-线上活动 1-线下活动
     */
    @ApiModelProperty(value = "活动形式 0-线上活动 1-线下活动")
    private Integer activityForm;

    /**
     * 活动描述
     */
    @ApiModelProperty(value = "活动描述")
    private String activityDescribe;

    /**
     * 票总价
     */
    private BigDecimal voteAllMoney;

    /**
     * 订单实际支付金额
     */
    private BigDecimal actuallyOrderMoney;

    /**
     * 活动地址
     */
    @ApiModelProperty(value = "活动地址")
    private String activityAddress;

    /**
     * 主办方电话
     */
    @ApiModelProperty(value = "主办方电话")
    private String organizerPhone;
    List<EnrollRecord> enrollRecords;

}
